﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImModels.View
{
    /// <summary>
    /// 企业注册 请求参数视图
    /// </summary>
    public class EnterpriseRegReq
    {
        /// <summary>
        /// 外部企业唯一标识
        /// </summary>
        public string BizOrgId { get; set; } = "";

        /// <summary>
        /// 企业全称
        /// </summary>
        public string FullName { get; set; } = "";

        /// <summary>
        /// 企业简称
        /// </summary>
        public string NickName { get; set; } = "";

        /// <summary>
        /// 企业头像
        /// </summary>
        public string HeadImg { get; set; } = "";

        /// <summary>
        /// 企业联系电话
        /// </summary>
        public string ContactTel { get; set; } = "";


        /// <summary>
        /// 创建者的用户ID 理论上和聊天的时候的用户ID是一致的
        /// </summary>
        public string CreateUserId { get; set; } = "";

        /// <summary>
        /// 扩展字段
        /// </summary>
        public object? ExJson { get; set; }
    }

    /// <summary>
    /// 企业注册 响应返回视图
    /// </summary>
    public class EnterpriseRegRes
    {
        /// <summary>
        /// 企业ID
        /// </summary>
        public string EnterpriseId { get; set; } = "";

        /// <summary>
        /// 企业秘钥
        /// </summary>
        public string Secret { get; set; } = "";
    }
}
